home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / Misc. Utilities / Installer / Installer 3.2 / Installer 3.2 Interfaces / ActionAtomIntf.p < prev    next >
Encoding:
Text File  |  1992-01-22  |  1.1 KB  |  45 lines  |  [TEXT/MPS ]

  1. {
  2.     File:        ActionAtomIntf.p
  3.  
  4.     Contains:    Pascal declarations for things the Installer wants to tell 
  5.                 action atoms about.
  6.  
  7.     Written by:    Bobby Carp
  8.  
  9.     Copyright:    © 1990 by Apple Computer, Inc., all rights reserved.
  10.  
  11.     Change History (most recent first):
  12.  
  13.          <2>     11/7/90    BAC        Adding the AAPBRec that defines the parameters an action atom
  14.                                     receives.
  15.          <1>     10/8/90    BAC        first checked in
  16.  
  17.     To Do:
  18. }
  19.  
  20. UNIT ActionAtomIntf;
  21.  
  22. INTERFACE
  23.  
  24. TYPE
  25.     { A parameter passed to the action atom tells whether it is being executed before installation }
  26.     { takes place, after it has taken place, or we're being called after the user hit cancel or stop. }
  27.  
  28.     InstallationStage = (before, after, cleanUpCancel);
  29.     
  30.     { The action atom param block record contains all of the parameters that action atoms }
  31.     { receive.  The first (and only) parameter to action atoms is a ptr to this block (AAPBRecPtr) }
  32.     
  33.     AAPBRecPtr = ^AAPBRec;
  34.     AAPBRec = RECORD
  35.         targetVRefNum:        INTEGER;
  36.         blessedDirID:        LONGINT;
  37.         aaRefCon:            LONGINT;
  38.         doingInstall:        BOOLEAN; 
  39.         whichStage:            InstallationStage; 
  40.         didLiveUpdate:        BOOLEAN; 
  41.         installerTempDirID:    LONGINT;
  42.     END;
  43.  
  44. END.
  45.